package com.chenfwind.IDao;

import java.util.List;

import com.chenfwind.domain.UserTrack;

public interface UserTrackMapper {
    int deleteByPrimaryKey(String id);

    int insert(UserTrack record);

    int insertSelective(UserTrack record);

    UserTrack selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserTrack record);

    int updateByPrimaryKey(UserTrack record);
    
    List<UserTrack> selectByUserID(String userID);
  	
  	UserTrack selectByUserIDAndStatus(String userID,int status);
  	
  	int selectMax(String userID);
  	
  	int updateStatus(int status,String userId);
}